<div class="panel-body">
    <table class="table table-condensed table-striped">
        <thead>
        <tr>
            <th>编号</th>
            <th>发布人</th>
            <th>标题</th>
            <th>描述</th>
            <th>图片</th>
            <th>专辑</th>
            <th>标签</th>
            <th>地址</th>
            <th>价格</th>
            <th>曝光量</th>
            <th>浏览量</th>
            <th>评论量</th>
            <th>是否启用</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
            <?php if(isset($postList)):?>
            <?php foreach($postList as $key=>$list):?>
            <tr>
                <td><?php echo $key+1 ?></td>
                <td><?php echo $list['user_email'] ?></td>
                <td><?php echo $list['title'] ?></td>
                <td><?php echo $list['description'] ?></td>
                <td> 
                    <?php 
                        $image_list = explode(";", $list['images']);
                        foreach($image_list as $img){
                            if(!empty($img)){

                               echo  '<p><img src="'.Lib_Image::getPostImage($list['id'],$img,100).'"  /></p>';

                            }
                        }
                    ?>
                </td>
                <td><?php echo $list['album'] ?></td>
                <td><?php echo $list['tags'] ?></td>
                <td><?php echo $list['url'] ?></td>
                <td><?php echo $list['price'] ?></td>
                <td><?php echo $list['reach'] ?></td>
                <td><?php echo $list['view'] ?></td>
                <td><?php echo $list['review'] ?></td>
                <td><?php echo $list['isdisabled']=="1"?"否":"是" ?></td>
                <td><?php echo $list['created'] ?></td>
            </tr>
            <?php endforeach; ?>
        <?php endif;?>
        </tbody>
    </table>
</div>